﻿using HomeCinema.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HomeCinema.Data.Configurations
{
   public class RoleConfiguration:EntityBaseConfiguration<Role>
    {
       public RoleConfiguration() {
           Property(u => u.Name).IsRequired().HasMaxLength(50);
       }
    }
}
